package cn.edu.cdp.jxgl_springboot_web.controller;

import cn.edu.cdp.jxgl_springboot_web.domain.Result;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

//@Controller
//@ResponseBody
@RestController
public class TestController {
    @RequestMapping("/test")
    public Result test() {
        return new Result(100, "测试成功", "这是数据内容");
    }
}
